# coding=gbk
__metaclass__ = type
class Rectangle:
	def __init__(self):
		self.width = 0
		self.length = 0
	def setSize(self,size):
		self.width, self.length = size
	def getSize(self):
#return self.size
		return self.width, self.length
	size = property(getSize, setSize)
#size = property(setSize, getSize)

rec = Rectangle()
#rec.setSize((5,10))
rec.size = (10,20)
print rec.size
